/**
 * 登录接口API
 * @param body
 * @returns {Promise<*|Promise<Awaited<*>>|Promise<never>>}
 */
export const useLoginApi = (body) => {
  return useHttpPost("/login/toLogin",{body:body})
}

/**
 * 退出登录
 * @param {*} body
 * @returns
 */
export const useLogoutApi = () => {
  return useHttpPost("/v1/login/logout",{})
}
